package com.llp.declaresystem.mapper;

import com.llp.declaresystem.domain.entity.Useradmin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
* @author NASK
* @description 针对表【useradmin(管理员信息表)】的数据库操作Mapper
* @createDate 2022-11-23 16:23:03
* @Entity com.llp.declaresystem.entity.Useradmin
*/
@Mapper
public interface UseradminMapper extends BaseMapper<Useradmin> {

    /**
     * 通过uid查询用户信息
     * @param uid
     * @return
     */
    @Select("select * from useradmin where uid=#{uid}")
    Useradmin selectByUid(Integer uid);
}




